// 引入工具类
import request from '@/utils/request' 
 
export function getInfoByCode(code){
    return request({
        url: '/blind/wuser/getInfoByCode?code='+code,
        method: 'GET'
     })
}


// 查询wuser列表
export function listWuser(query) {
  return request({
    url: '/blind/wuser/list',
    method: 'get',
    params: query
  })
}

// 查询wuser详细
export function getWuser(uuid) {
  return request({
    url: '/blind/wuser/' + uuid,
    method: 'get'
  })
}

// 新增wuser
export function addWuser(data) {
  return request({
    url: '/blind/wuser/addWUser',
    method: 'post',
    data: data
  })
}

// 修改wuser
export function updateWuser(data) {
  return request({
    url: '/blind/wuser',
    method: 'put',
    data: data
  })
}

// 删除wuser
export function delWuser(uuid) {
  return request({
    url: '/blind/wuser/' + uuid,
    method: 'delete'
  })
}